<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 1/29/2015
 * Time: 7:23 PM
 */
namespace app\modules\admin\models;

Class Admin extends \yii\base\Object {
    public $id;
    public $username;
    public $password;

    public function validatePassword($password)
    {
        return $this->password === $password;
    }

}